package com.songcan.basics.core.service;

import com.songcan.common.contans.ImageType;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface CommonFileService {


    Long addFile(MultipartFile multipartFile, ImageType imageType) throws IOException;

    void get(String id,ImageType imageType, HttpServletResponse response) throws IOException;
}
